package com.pks.autoInsurance.dto;

public class OwnerDetailsDto {
	private String userId;
	private String ssn;
	private String bloodGroup;
	private String drivingLicence;;
	private int totalAccident;

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("OwnerDetailsDto [userId=");
		builder.append(userId);
		builder.append(", ssn=");
		builder.append(ssn);
		builder.append(", bloodGroup=");
		builder.append(bloodGroup);
		builder.append(", drivingLicence=");
		builder.append(drivingLicence);
		builder.append(", totalAccident=");
		builder.append(totalAccident);
		builder.append("]");
		return builder.toString();
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the bloodGroup
	 */
	public String getBloodGroup() {
		return bloodGroup;
	}

	/**
	 * @param bloodGroup
	 *            the bloodGroup to set
	 */
	public void setBloodGroup(String bloodGroup) {
		this.bloodGroup = bloodGroup;
	}

	/**
	 * @return the drivingLicence
	 */
	public String getDrivingLicence() {
		return drivingLicence;
	}

	/**
	 * @param drivingLicence
	 *            the drivingLicence to set
	 */
	public void setDrivingLicence(String drivingLicence) {
		this.drivingLicence = drivingLicence;
	}

	/**
	 * @return the totalAccident
	 */
	public int getTotalAccident() {
		return totalAccident;
	}

	/**
	 * @param totalAccident
	 *            the totalAccident to set
	 */
	public void setTotalAccident(int totalAccident) {
		this.totalAccident = totalAccident;
	}

	/**
	 * @return the ssn
	 */
	public String getSsn() {
		return ssn;
	}

	/**
	 * @param ssn
	 *            the ssn to set
	 */
	public void setSsn(String ssn) {
		this.ssn = ssn;
	}

}
